import http from "../../utils/http";
// 供应商
const supplier = {
    supplierList: (data) => http.get("/supplier/list", data), // 供应商列表

    supplierAdd: (data) => http.post("/supplier/add", data), // 新增供应商

    supplierDetail: (data) => http.get("/supplier/detail", data), // 供应商详情

    supplierEdit: (data) => http.put("/supplier/edit", data), // 编辑供应商

    supplierDelete: (data) => http.delete("/supplier/delete", data), // 删除供应商



};

export default supplier;
